Magnetic resonance imager linear accelerator